#pragma once
#include "BaseRebot.h"
#include "Iocp.h"


class XTCPClientIOCPRobot:public Rebot
{
public:
	XTCPClientIOCPRobot(void);
	~XTCPClientIOCPRobot(void);

	virtual unsigned int Init(const char * host, int port, string& serverType);

	DECLARE_DYNCREATE(XTCPClientIOCPRobot, Rebot);

	bool ClientJoinIOCP(ClientRobot* pRobot);
private:
#ifdef WIN32
	CLock	 m_lock;
	CIocp*   mpServer;
#else

#endif


};

